import request from '@/util/request'

export function listTag(data) {
  return request({
    url: '/iot/tag/list',
    method: 'post',
    data
  })
}

export function insertTag(data) {
  return request({
    url: '/iot/tag/insert',
    method: 'post',
    data
  })
}

export function updateTag(data) {
  return request({
    url: '/iot/tag/update',
    method: 'post',
    data
  })
}

export function deleteTag(data) {
  return request({
    url: '/iot/tag/delete',
    method: 'post',
    data
  })
}

